import java.io.File;

public class Test06 {
    public static void main(String[] args) {
        File f1=new File("D:\\aaa");
        File[] files=f1.listFiles();
        for (File file : files) {
            System.out.println(file);
        }
    }
}
